﻿@model SlamCms.Demo.HtmlCss.Models.GenericList<SlamCms.Demo.HtmlCss.Models.ContentItemList>
<div class="content-item-list">
	<div class="header-div">
		<h2>@Model.Title</h2>
	</div>
	<ul class="body-list">
	@foreach (var item in Model.Items)
	{
		<li@if(item.Featured){ <text> class="featured-list-item"</text> }>
			<div class="item-list-div">
				<div class="icon-div">
					<img src="@item.Icon" alt="" />@if (!string.IsNullOrEmpty(item.Type)) { <text><br /></text>@item.Type }
				</div>
				<h4><a href="@item.Url">@item.Title</a></h4>
				<p>@item.Description</p>
			</div>
		</li>
	}
	</ul>
</div>